cmake_minimum_required(VERSION 3.24)
project(my_algorithm)

set(CMAKE_CXX_STANDARD 17)

add_executable(my_algorithm main.cpp)

add_executable(2.find_k my_algorithms/1.basis/quick_sort/find_k.cpp)
add_executable(1.sort my_algorithms/1.basis/quick_sort/sort.cpp)
add_executable(sort my_algorithms/1.basis/quick_sort/sort.cpp)
add_executable(merge_sort my_algorithms/1.basis/merge_sort/merge_sort.cpp)
add_executable(reverse_pair my_algorithms/1.basis/merge_sort/reverse_pair.cpp)
add_executable(range my_algorithms/1.basis/dichotomy/range.cpp)
add_executable(binary_search_stack my_algorithms/1.basis/dichotomy/rang_plus.cpp)
add_executable(submartrixes_sum my_algorithms/1.basis/PrefixSum_difference/submartrixes_sum.cpp)
add_executable(diff my_algorithms/1.basis/PrefixSum_difference/diff.cpp)
add_executable(diff_martrixes my_algorithms/1.basis/PrefixSum_difference/diff_martrixes.cpp)
add_executable(max_sub_string my_algorithms/1.basis/two_points/max_sub_string.cpp)
add_executable(union my_algorithms/2.ds/union_find/union.cpp)
add_executable(union_block my_algorithms/2.ds/union_find/union_block.cpp)
add_executable(n_queen my_algorithms/3.tree_graph/dfs/n_queen.cpp)
add_executable(eight_figure my_algorithms/3.tree_graph/bfs/eight_figure.cpp)
add_executable(center_gravity_tree my_algorithms/3.tree_graph/t_g_dfs/center_gravity_tree.cpp)
add_executable(test test.cpp)
add_executable(node_level_in_graph my_algorithms/3.tree_graph/t_g_bfs/node_level_in_graph.cpp)
add_executable(monotny_stack my_algorithms/2.ds/stack_/monotny_stack.cpp)
add_executable(monotony_queue my_algorithms/2.ds/queue_/monotony_queue.cpp)
add_executable(heap_optimize my_algorithms/3.tree_graph/dijkstra/heap_optimize.cpp)